﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using MiniStock.Entities;
using MiniStock.Entities.Common.Events;
using MiniStock.Entities.Common;
using MiniStock.Entities.Stock;

namespace MiniStock.ServiceFacade
{
    [ServiceContract]
    public partial interface IServiceFacade
    {
        [OperationContract]
        Guid SubmitEvent(EntityEventBase message);

        [OperationContract]
        StatusQueryEvent GetResult(Guid correlationId);

        //[OperationContract]
        //EntityBase GetEntity(string entityHash);

        //[OperationContract]
        //List<EntityBase> ListEntity(string entity, Dictionary<string, string> filter);
    }
}
